<%@include file="./include/jspheader.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>机票平台</title>
<link href="css/index.css" rel="stylesheet" type="text/css" />
</head>

<body>


<!-- 左侧 begin -->
<ul><li id="mll">
	<s:iterator value="menu" status="stat">
          <dl>
              <dt><a href="<s:property value="link" default="#"/>"><img src="images/jd_jian.gif" width="9" height="9" align="absmiddle" /><s:property value="name" escape="true"/></a></dt>
              <dd><ul>
                      <s:iterator value="children" status="stat2">
                          <li <s:if test="#stat.index == 0 && #stat2.index == 0">class="on"</s:if>>
                              <a href="<s:property value="link" default="#"/>" target="<s:property value="target" default="ifr" />"><s:property value="name" escape="true"/></a>
                          </li>
                      </s:iterator>
                  </ul>
              </dd>
          </dl>
     </s:iterator>
</li></ul>
<!-- 左侧 end -->

<script language="javascript">
$('#mll').find('dt').toggle(
	function(){
		$(this).next('dd').hide();
		$(this).find('img').attr('src','images/jd_jia.gif');
	},
	function(){
		$(this).next('dd').show();
		$(this).find('img').attr('src','images/jd_jian.gif');
	}
);

$('#mll').find('li').click(
	function(){
		$('#mll').find('li').each(
			function(){
				$(this).removeClass('on');
			}
		);
		$(this).addClass('on');
		$('#mr_tt').text($(this).text());
	}
);
</script>
</body>
</html>
